<template>
	<view>
		<div>
			<div>
				<navitop>
					<!-- <i class="iconfont" slot="left-slot" @click="outlot">&#xe667;</i> -->
					<span slot="center-slot">消息</span>
					<!-- <span slot="right-slot">123</span> -->
				</navitop>
			</div>
			<div :style="'padding-top:' + nv_height">
				
				<inputgroup></inputgroup>
				
			<!-- 	<view @click="xcolor">
					点击 {{Unbers}}
				</view> -->
				
			</div>
		</div>
	</view>
</template>
<script>
import navitop from '@/components/common/navi-top'
import inputgroup from '@/components/common/input-group'
import { mapState } from "vuex";

export default {
	components:{
		navitop,
		inputgroup,
		
	},
	data(){
		return {
			nv_height:'',
			ceshiData: [],
			longitude:'',
			latitude: '',
			covers: [],
			heads: {'Access-Token':uni.getStorageSync('token')},
		}
	},
	mounted() {
		
		this.nv_height = uni.getSystemInfoSync().statusBarHeight + 55 + 'px';
		
		this.dataSorce = {tal: 123,kil:58};

	}, 
	computed: {
		...mapState(['Unbers'])
	},
	
	methods:{
		
		xcolor(){
			this.$store.commit('getobjlist');
			// console.log('-----vuex-----',this.$store.commit('setInfo'))	
		},
		
		runIndex(val){
			for(let i in this.seziList){
				if(i == val){
					uni.navigateTo({
						url:'/pages/common/news/newpage?id='+val
					})
				}
			}
		}
	}
}
</script>

<style scoped lang="scss">
	.public_top {
		padding-top: 80px;
	}
</style>
